ARG N_V=18.20.8
FROM registry.cn-hangzhou.aliyuncs.com/xiaoyilin/nodejs:${N_V}
LABEL author=xiaoyilin
LABEL email=406735078@qq.com
ENV PNPM_HOME=/root/.local/share/pnpm
ENV PATH=$PATH:/root/.local/share/pnpm
RUN pnpm add -g stylus

# https://stylus-lang.com/
# https://www.stylus-lang.cn/
# docker build --build-arg N_V=18.20.8 -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/stylus:n18 .
# docker build --build-arg N_V=20.19.5 -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/stylus:n20 .
# docker build --build-arg N_V=22.20.0 -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/stylus:n22 .
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/stylus:n18
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/stylus:n20
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/stylus:n22
# docker run --rm registry.cn-hangzhou.aliyuncs.com/xiaoyilin/stylus:n22
# docker run --rm -it registry.cn-hangzhou.aliyuncs.com/xiaoyilin/stylus:n20 bash